import xjaxios from "@/api/axios"
// import xjoaxios from "@/api/axios-base"
// import {getToken} from "@/utils/auth";
// import pictureaxios from "@/api/digital-production/collectionPicture/index"

// import { getToken } from '@/utils/auth'
export default {
  // 添加图片
  addCollectionPicture() {
    return xjaxios.post("/collectionPicture/addPicture")
  },
  // 修改
  editCollectionPicture(file) {
    return xjaxios.post(`/collectionPicture/edit/{id}`, file)
  },
  // 删除
  delCollectionPicture(pictureId) {
    return xjaxios.get(`/collectionPicture/del/${pictureId}`)
  },
  // 查询图片
  getColectPicture(pictureId) {
    return xjaxios.get(`/collectionPicture/query/${pictureId}`)
  }
  // commonService
  // getColectPictures(pictureId) {
  //   return pictureaxios.get(`/picture/query/${pictureId}`)
  // }
}
